From 21bb16d5f1d0a397f2aecf4807f767206fba0484 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 18 Mar 2025 11:46:36 +0100 Subject: [PATCH] use a better and shorter title for input dialog for PIN code we have to make sure the title is short and easy to understand if it is too long, it will be truncated giving a bad experience for the user Signed-off-by: Matthieu Gallien --- src/libsync/clientsideencryption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/clientsideencryption.cpp b/src/libsync/clientsideencryption.cpp index c7755fe92..06432ee29 100644 --- a/src/libsync/clientsideencryption.cpp +++ b/src/libsync/clientsideencryption.cpp @@ -1144,7 +1144,7 @@ void ClientSideEncryption::initializeHardwareTokenEncryption(QWidget *settingsDi /* perform pkcs #11 login */ bool ok; newPin = QInputDialog::getText(settingsDialog, - tr("PIN needed to login to token"), + tr("Input PIN code", "Please keep it short and shorter than \"Enter Certificate USB Token PIN:\""), tr("Enter Certificate USB Token PIN:"), QLineEdit::Password, {}, -- 2.30.2